fix bugs in order to use easily#23
Conversation
Escapingbug
left a comment
There was a problem hiding this comment.
Thanks for your pull request! But there's something I found that may need some cleanup.
README.md
Outdated
|
|
||
| - [ancypwn-terminal-alacritty](https://github.com/Escapingbug/ancypwn-terminal-alacritty) | ||
| - [ancypwn-terminal-iterm2](https://github.com/Escapingbug/ancypwn-terminal-iterm2) | ||
| - [ancypwn-terminal-iterm2](https://github.com/shizhongpwn/ancypwn-terminal-iterm2.git) |
There was a problem hiding this comment.
What is the problem with the current solution? If you please, you might fire an PR to that repo as well instead of just replacing the "official" one?
README.md
Outdated
| pip3 install ancypwn | ||
| # pip3 install ancypwn-backend-* (choose your backend, and install it) | ||
| # pip3 install ancypwn-terminal-* (choose your terminal, and install it) | ||
| # install ancypwn-backend-* (choose your backend, and install it) |
There was a problem hiding this comment.
Why is the "pip3" missing exactly?
There was a problem hiding this comment.
becauser it can't download through pip3.
ancypwn-docker/16.04/.gdb_history
Outdated
| @@ -0,0 +1 @@ | |||
| parseheap | |||
ancypwn-docker/20.04/.gdb_history
Outdated
| @@ -0,0 +1 @@ | |||
| parseheap | |||
ancypwn-terminal/launch.json
Outdated
| @@ -0,0 +1,16 @@ | |||
| { | |||
There was a problem hiding this comment.
This file should not be uploaded.
src/ancypwn.py
Outdated
|
|
||
| system = platform.system().lower() | ||
| if 'linux' in system or 'darwin' in system: | ||
| system = platform.system().lower() |
There was a problem hiding this comment.
Hopefully, you could deal with the trailing whitespace.
src/server.py
Outdated
| import importlib | ||
| from socketserver import TCPServer, StreamRequestHandler | ||
|
|
||
| class PluginNotFoundError(Exception): |
|
i already fixed |
Escapingbug
left a comment
There was a problem hiding this comment.
And one more thing, why do we have those submodules present? Are those neccessary?
src/server.py
Outdated
| content = json.loads(json_content) | ||
| terminal = content['terminal'] | ||
| if content['exec'] != '': | ||
| terminal = content['terminal'] |
There was a problem hiding this comment.
sadly the trailing whitespace is still present
There was a problem hiding this comment.
ok, i already kown and delete it.
| cd ~ && tar -xvf /usr/src/glibc/glibc-2.23.tar.xz | ||
|
|
||
| # python/ruby packages & gdb-plugin | ||
| #RUN wget https://files.pythonhosted.org/packages/cd/82/04e9aaf603fdbaecb4323b9e723f13c92c245f6ab2902195c53987848c78/pip-21.1.2-py3-none-any.whl && \ |
There was a problem hiding this comment.
Is this line of comment useful or we can just remove it away?
|
|
||
| # python/ruby packages & gdb-plugin | ||
| #RUN wget https://files.pythonhosted.org/packages/cd/82/04e9aaf603fdbaecb4323b9e723f13c92c245f6ab2902195c53987848c78/pip-21.1.2-py3-none-any.whl && \ | ||
| #RUN pip3 install pip-21.1.2-py3-none-any.whl && \ |
There was a problem hiding this comment.
If those comments are not needed, please remove them to keep the codebase clean.
| return struct.pack('<I', num) | ||
|
|
||
|
|
||
| # 这个主要是用来传递终端参数的,执行的命令,和选择的终端信息。 |
There was a problem hiding this comment.
Please use English if you tend to keep this comment.
| sock.connect((args.server, port)) | ||
|
|
||
| sock.sendall(protocol_msg) | ||
| sock.connect((args.server, port)) #连接服务器 |
|
|
||
|
|
||
| DEFAULT_CONFIG = { | ||
| DEFAULT_CONFIG = { |
because othre program update , this project have some error, and i change it to user python3, and fix iterm2 bugs in macos.